package com.ruoyi.statistics.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class HomeStatistics {

    // 放款金额
    private String approveQuota;

    // 净创收金额
    private String skQuota;

    // 放款数量
    private String approveQuotaNum;

    // 进件数量
    private String jjNum;

    // 用于sql拼接
    private String type;
    private String typeOther;


    // 业绩
    private BigDecimal userRevenue;

    private BigDecimal teamRevenue;


    private String year;

    private String month;

    private String yearRevenue;

    private String yearApproveQuota;

    private String yearApproveQuotaNum;

    private String timeInfo;

    // 数据权限
//    private String dataPermission;


    // 部门相关信息
    private Long deptId;
    private String ancestors;
    private String deptName;
    // 个人相关信息
    private String busName;

    // 1、业务员 2、其他
    private String operation;

    private boolean deptFlag = false;

    private List<SysDept> deptList;

    private Long userId;

    @DateTimeFormat(pattern = "yyyy-MM-ff")
    private Date queryTime;

    private String nickName;
    private String recordNum;
    private String customerNum;


}
